package 多维数组;
/*  //**举例3：**求数组元素中偶数的个数*/
public class Demo5 {
    public static void main(String[] args) {
        int[] arr = {4,5,6,1,9};
        int count = 0;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 2 == 0){
                count++;
            }
        }
        System.out.println(count);
    }
}
